<?php

namespace Taxx\KernelBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Taxx\KernelBundle\Entity\MaterialLecture
 *
 * @ORM\Table(name="material_lecture")
 * @ORM\Entity
 */
class MaterialLecture
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var Lecture
     *
     * @ORM\ManyToOne(targetEntity="Lecture")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="lecture_id", referencedColumnName="id")
     * })
     */
    private $lecture;

    /**
     * @var Material
     *
     * @ORM\ManyToOne(targetEntity="Material")
     * @ORM\JoinColumns({
     *   @ORM\JoinColumn(name="material_id", referencedColumnName="id")
     * })
     */
    private $material;
    
    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getLecture() {
        return $this->lecture;
    }

    public function setLecture($lecture) {
        $this->lecture = $lecture;
    }

    public function getMaterial() {
        return $this->material;
    }

    public function setMaterial($material) {
        $this->material = $material;
    }

}

?>
